#ifndef DIRECTORY_H_
#define DIRECTORY_H_


typedef struct {
	int inode;
	char filename[12];
} DirectoryEntry;


class Directory
{
public:
	int size;
	DirectoryEntry* contents;
	Directory(int count);
	virtual ~Directory();

	int getFileInode(const char* filename);
	int addFile(char* filename, int inode);
	int removeFile(char* filename);
	int removeFile(int inode);
	bool containsFile(char* filename);
//	int ls(char* buf);
};

#endif /*DIRECTORY_H_*/
